package admin.common.domain.rsp;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;

/**
 * @author zgb
 * @date 2024-02-28 19:20
 * @description TODO
 */

@Schema(description = "用户信息 响应对象")
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class UserRsp implements Serializable {
    private static final long serialVersionUID = -1242493306307174690L;


    @Schema(description = "avatar")
    private AvatarRsp avatar;
    @Schema(description = "mobile")
    @JsonProperty("mobile")
    private String mobile;


    @Schema(description = "name")
    @JsonProperty("name")
    private String name;

    @Schema(description = "open_id")
    @JsonProperty("open_id")
    private String openId;

    @Schema(description = "union_id")
    @JsonProperty("union_id")
    private String unionId;

}
